import java.util.Scanner;
/**
 * 维吉尼亚加密
 * @author xx
 *
 */
public class Vigenere {
	/**
	 * @param c 待加密字母
	 * @param offset 偏移量
	 * @return 加密后的字符
	 */
	public static char encrypt(char c, int offset){
		return (char)((((c%97)*1)+offset)%26+97);
	}
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String raw = sc.nextLine().toLowerCase();
		// 密钥
		int[] key = new int[]{1,9,11,17,23};
		String ciphertext = "";
		int j = 0;
		for(int i=0;i<raw.length();i++,j++){
			ciphertext = ciphertext+String.valueOf(encrypt(raw.charAt(i),key[j%key.length]));
		}
		System.out.println(ciphertext);
	}
}